// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
.el-table thead th.el-table__cell {
  background: #f5f7fa;
}

.el-card__header {
  padding: 12px 20px;
}
.el-card__body {
  padding: 15px;
}
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100%;
}

/* 一定要是全局的样式 */
.el-scrollbar__wrap {
  overflow-x: hidden !important;
}
.el-scrollbar {
  height: 100%;
}

.el-scrollbar__bar.is-vertical {
  width: 6px;
}
.el-cascader {
  width: 100%;
}
.el-picker-panel__content {
  margin-bottom: 0 !important;
}
/*select*/
.el-select-dropdown__wrap {
  margin-bottom: unset !important;
}
.el-select {
  width: 100%;
}
// .el-form-item--mini .el-form-item__content,
// .el-form-item--mini .el-form-item__label {
//   line-height: 27px;
// }
.el-radio,
.el-checkbox {
  margin-right: 20px;
}
.el-radio__label {
  padding-left: 5px;
}
// 用于解决 datetimerange，radio 类型，放在最后一个位置，会出现布局错乱
.el-row {
  display: flex;
  flex-wrap: wrap;
}

.el-table .el-input__inner {
  text-align: center;
  border: none;
}
